package mud.entity;

import java.util.Map;

abstract class Property{
    private String label;    // 模式名称
    private Map<String,Object> detail;

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public Map<String, Object> getDetail() {
        return detail;
    }

    public void setDetail(Map<String, Object> detail) {
        this.detail = detail;
    }

    public Object get(String key)
    {
        return detail.get(key);
    }

    public void put(String key,Object value)
    {
        detail.put(key,value);
    }
}
